﻿using System;
using SilentWebsite.Web;

namespace SilentWebsite.Model.Contracts
{
    public class AuthenticationEventArgs : EventArgs
    {
        public User CurrentUser { get; private set; }
        public bool IsSignedIn { get; private set; }

        public AuthenticationEventArgs(User user, bool isSignedIn)
        {
            CurrentUser = user;
            IsSignedIn = isSignedIn;
        }
    }
}